import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class ServiceWidget extends StatefulWidget {
  const ServiceWidget({Key? key}) : super(key: key);

  @override
  State<ServiceWidget> createState() => _ServiceWidgetState();
}

class _ServiceWidgetState extends State<ServiceWidget> {
  @override
  Widget build(BuildContext context) {
    return Container(
      width: 420.w,
      child: Column(
        children: [
          Row(
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            children: [
              Container(
                decoration: BoxDecoration(
                  color: Colors.white,
                  boxShadow: [BoxShadow(color: Colors.grey,blurRadius: 1)],
                  borderRadius: BorderRadius.all(Radius.circular(10))
                ),
                padding: EdgeInsets.all(10),
                width: 0.65.sw,
                height: 100.h,
                alignment: Alignment.topLeft,
                child: Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: [
                    Text('定位失败',style: TextStyle(fontSize: 18.sp,fontWeight: FontWeight.w600),),
                    SizedBox(height: 10.h,),
                    Row(
                      children: [
                        Image.asset('assets/dingw.png',width: 20.w,height:20.h),
                        Text('点击全部网点可搜索您周边网点',style: TextStyle(fontSize:12.sp,))
                      ],
                    )
                  ],
                  
                ),
              ),
              Container(
                decoration: BoxDecoration(
                  boxShadow: [
                    BoxShadow(
                      color: Colors.grey,
                      blurRadius: 1
                    )
                  ],
                  color: Colors.white,
                  borderRadius: BorderRadius.all(Radius.circular(10)),
                ),
                alignment: Alignment.center,
                width: 0.31.sw,
                height: 100.h,
                child: Text("全部网点"),
              )
            ],
          )
        ],
      ),

    );
  }
}